package com.kqb.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * e_employee
 */
@Data
@ApiModel("员工")
@NoArgsConstructor
public class Employee implements Serializable {

    @ApiModelProperty("用户id")
    private Integer id;
    @ApiModelProperty(value = "真实姓名", required = true)
    private String realName;
    @ApiModelProperty(value = "联系方式", required = true)
    private String mobile;

    public Employee(Integer id, String realName, String mobile, String status, Integer departmentId, String position, Long baseSalary, Date birthday, Date hireDate, String approvalPolicy, String employeeType, Integer roleId, BigDecimal annualTarge) {
        this.id = id;
        this.realName = realName;
        this.mobile = mobile;
        this.status = status;
        this.departmentId = departmentId;
        this.position = position;
        this.baseSalary = baseSalary;
        this.birthday = birthday;
        this.hireDate = hireDate;
        this.approvalPolicy = approvalPolicy;
        this.employeeType = employeeType;
        this.roleId = roleId;
        this.annualTarge = annualTarge;
    }

    @ApiModelProperty(value = "账号状态", required = true)
    private String status;
    @ApiModelProperty(value = "所属部门", required = true)
    private Integer departmentId;
    @ApiModelProperty(value = "职务名称", required = true)
    private String position;
    @ApiModelProperty(value = "底薪", required = true)
    private Long baseSalary;
    @ApiModelProperty(value = "员工生日(月 日)", required = true)
    private Date birthday;
    @ApiModelProperty(value = "入职时间", required = true)
    private Date hireDate;
    @ApiModelProperty("产品参数审核策略")
    private String approvalPolicy;
    @ApiModelProperty(value = "员工类型", required = true)
    private String employeeType;
    @ApiModelProperty(value = "关联角色", required = true)
    private Integer roleId;
    @ApiModelProperty(value = "年度业绩目标", required = true)
    private BigDecimal annualTarge;

    private static final long serialVersionUID = 1L;
}